#SUBDIRS         = common oledoc xlslib

# WAS CXXFLAGS = -O2 DFH
# SEE IF WE REALLY NEED IT THOUGH
# AM_CXXFLAGS = -O2

AM_CPPFLAGS        =          \
-I$(top_srcdir)/src/data      \
-I$(top_srcdir)/src/oledoc    \
-I$(top_srcdir)/src/common    \
-I$(top_srcdir)/src/xlslib

lib_LTLIBRARIES         = libxls.la

# DFH addition second spin, 3rd revision, back compat to 0 (http://sourceware.org/autobook/autobook/autobook_91.html)
# DFH https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
libxls_la_LDFLAGS = $(XLSLIB_LIBS) -version-info 3:0:0

libxls_la_SOURCES     =       \
xlslib/assert_assist.cpp      \
xlslib/blank.cpp              \
xlslib/boolean.cpp            \
xlslib/cbridge.cpp            \
xlslib/cell.cpp               \
xlslib/colinfo.cpp            \
xlslib/colors.cpp             \
xlslib/continue.cpp           \
xlslib/datast.cpp             \
xlslib/docsumminfo.cpp        \
xlslib/err.cpp                \
xlslib/extformat.cpp          \
xlslib/font.cpp               \
xlslib/format.cpp             \
xlslib/formula.cpp            \
xlslib/formula_cell.cpp       \
xlslib/formula_estimate.cpp   \
xlslib/formula_expr.cpp       \
xlslib/globalrec.cpp          \
xlslib/HPSF.cpp               \
xlslib/index.cpp              \
xlslib/label.cpp              \
xlslib/merged.cpp             \
xlslib/note.cpp               \
xlslib/number.cpp             \
xlslib/range.cpp              \
xlslib/recdef.cpp             \
xlslib/record.cpp             \
xlslib/row.cpp                \
xlslib/sheetrec.cpp           \
xlslib/summinfo.cpp           \
xlslib/unit.cpp               \
xlslib/workbook.cpp           \
oledoc/binfile.cpp            \
oledoc/oledoc.cpp             \
oledoc/olefs.cpp              \
oledoc/oleprop.cpp

pkginclude_HEADERS =          \
xlslib.h

nobase_pkginclude_HEADERS =   \
common/xlconfig.h             \
common/xlsys.h                \
common/stringtok.h            \
common/systype.h              \
common/timespan.h             \
common/xls_poppack.h          \
common/xls_pshpack1.h         \
common/xls_pshpack2.h         \
common/xls_pshpack4.h         \
common/xlstypes.h             \
oledoc/binfile.h              \
oledoc/oledoc.h               \
oledoc/olefs.h                \
oledoc/oleprop.h              \
xlslib/biffsection.h          \
xlslib/blank.h                \
xlslib/boolean.h              \
xlslib/cell.h                 \
xlslib/colinfo.h              \
xlslib/colors.h               \
xlslib/common.h               \
xlslib/continue.h             \
xlslib/datast.h               \
xlslib/docsumminfo.h          \
xlslib/err.h                  \
xlslib/extformat.h            \
xlslib/font.h                 \
xlslib/format.h               \
xlslib/formula.h              \
xlslib/formula_cell.h         \
xlslib/formula_const.h        \
xlslib/formula_expr.h         \
xlslib/formula_estimate.h     \
xlslib/globalrec.h            \
xlslib/HPSF.h                 \
xlslib/index.h                \
xlslib/label.h                \
xlslib/merged.h               \
xlslib/note.h                 \
xlslib/number.h               \
xlslib/range.h                \
xlslib/recdef.h               \
xlslib/record.h               \
xlslib/rectypes.h             \
xlslib/row.h                  \
xlslib/sheetrec.h             \
xlslib/summinfo.h             \
xlslib/unit.h                 \
xlslib/workbook.h

distclean-local:
	-rm -rf .deps/
	-rm -rf .libs/

